package com.water.wfo.user.mapper;

import com.water.wfo.sys.pojo.entity.BulletinEntiy;
import com.water.wfo.sys.pojo.entity.DataDictionaryEntity;
import com.water.wfo.sys.pojo.request.DataDictionaryRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统公告表 Mapper 接口
 * </p>
 *
 * @author water&7
 * @since 2024-07-22
 */
@Mapper
public interface BulletinMapper{

    int insert(BulletinEntiy entity);
    int update(BulletinEntiy entity);

    BulletinEntiy selectById(@Param("id") Long id);

    BulletinEntiy selectByEntity(BulletinEntiy entiy);

    List<BulletinEntiy> queryBulletinEntityBy(DataDictionaryRequest entity);

    int deleteBatchByIds(List<Long> list);

}
